<template>
	<div class="task">
		<div class="top" >
			<button type="button" @click="p1" :class="current==1?'current':''" class="nav" >行业政策1</button>
			<button type="button" @click="p2" :class="current==2?'current':''" class="nav" >行业政策2</button>
			<button type="button" @click="p3" :class="current==3?'current':''" class="nav" >行业政策3</button>

		</div>
		<div v-for="(item,index) in list" class="NewsList">{{item.title}} </div>



		<div class="block">
		  <el-pagination
		    layout="prev, pager, next"
		    :total="1000">
		  </el-pagination>
		</div>
		

	</div>
</template>

<script>
	export default{
		name:'studentManage',
		data(){
			return {
				current : 1,
				list:[{
					title:'中华人民共和国审计法规与审计准则及政策'
				},
				{
					title:'中华人民共和国审计法规与审计准则及政策'
				},
				{
					title:'中华人民共和国审计法规与审计准则及政策'
				},],
				form:{
					
					
				},
				dialogPaperControl:false,
				
				
				
			}
		},
		mounted() {
			console.log(this.$route.path)
		},
		methods:{
			OpenForm(){
				this.dialogForm = true
			},
			p1(){
				this.current = 1 
				
			},
			p2(){
				this.current = 2 
			},
			p3(){
				this.current = 3 
			},
		}
		
	}
</script>

<style scoped>

	.current{
		background-color: #ffffff !important;
		border-style :none;
		color: #000000 !important;
	}
	
	.nav{
		color: white;
		border-style :none;
		margin-left: 10px;
		margin-right: 10px;
		background-color: inherit;
		width: 100px;
		height: 41px;
		margin-top: 10px;
		line-height: 40px;
		padding-left: 10px;
		padding-right: 10px;
		border-top-left-radius: 6px;
		border-top-right-radius: 6px;
	}
	.el-table{
		padding-left: 20px;
	}
	.commit-task{
		width: inherit;
		height: 140px;
		
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.el-table{
		border: 1px #DCE0E3 solid;
		margin-left: 10px;
	}
	.header{
		height: 60px;
		padding-left: 20px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.task{
		width:1200px;
		height: 572px;

	}
	.top{
		padding-left: 19px;
		font-size: 16px;
		color:#FFFFFF;
		font-weight: 300;
		display: flex;
		align-items: center;
		width: 1200px;
		height: 52px;
		background-color: #338AFF;
	}
	.table-header{
		display: flex;
		height: 60px;
		width: 1158px;
		background-color: #F6F7F9;
	}
	.NewsList{
		height: 60px;
		line-height: 60px;
		margin-left: 30px;
		
		border-bottom: #72767B 2px solid;
	}
</style>
